#ifndef PHONELOGINWIDGET_H
#define PHONELOGINWIDGET_H

#include <QGridLayout>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QWidget>

#include "loginwidget.h"

class PhoneLoginWidget : public QWidget
{
    Q_OBJECT
  public:
    explicit PhoneLoginWidget(QWidget *parent = nullptr);
    void switchMode();

  private:
    QLabel      *_titleLabel;
    QLineEdit   *_phoneEdit;
    QLineEdit   *_verifyCodeEidt;
    QPushButton *_sendVerifyCodeBtn;
    QPushButton *_submitBtn;
    QPushButton *_switchModeBtn;

    bool _isLoginMode = true;
  signals:
};

#endif // PHONELOGINWIDGET_H
